<?php

function hello()
{
    $validator = $this->validate($params, [
        'room_id' => ['required', new RoomIdRule()],
    ])->showError();
    $roomId                 = $validator->getValue('room_id');
    $roomModel              = false;
    $rebroadcast_room_id    = '';
    $rebroadcast_channel_id = '';

    # vhallEOF-broadcast-RoomService-getAttr-1-start
    # vhallEOF-broadcast-RoomService-getAttr-1-end

    $data = [
        'is_board'               => 0,
        'is_doc'                 => $this->getRoomService()->getIsOpenDocument($roomId),
        'is_handsup'             => $this->getInavService()->getHandsup($roomId),
        'stream'                 => [
            'layout'     => $this->getInavService()->getLayout($roomId),
            'definition' => $this->getInavService()->getDefinition($roomId),
        ],
        'main_screen'            => (string) $this->getInavService()->getMainScreen($roomId),
        'doc_permission'         => (string) $this->getInavService()->getDocPermission($roomId),
        'speaker_list'           => $this->getInavService()->getSpeakerList($roomId),
        'start_type'             => $this->getInavService()->getGlobal($roomId, InavGlobalConstant::START_TYPE, 1),
        'rebroadcast'            => $rebroadcast_room_id,
        'all_banned'             => $this->getInavService()->getAllBanned($roomId),
        'is_desktop'             => $this->getInavService()->getDesktop($roomId),
        'rebroadcast_channel_id' => $rebroadcast_channel_id,
    ];

    # vhallEOF-invitecard-RoomService-getAttr-1-start

    # vhallEOF-invitecard-RoomService-getAttr-1-end

    # vhallEOF-qa-RoomService-getAttr-1-start


    # vhallEOF-qa-RoomService-getAttr-1-end
}
